package com.ys.filelib.filedialog;


public class StorageItem {
    public int imgRes;
    public int imgRes2;
    public int type;   //1:内置SD卡   2：SD卡  3：USB  4：云盘(默认)
    public boolean check;
    public String name;
    public String path;
    public String email;

    public int port;
    public String host;
    public String username;

    public static final int TYPE_INNER = 1;
    public static final int TYPE_SD = 2;
    public static final int TYPE_USB = 3;
    public static final int TYPE_CLOUD = 4;
    public static final int TYPE_ONE_DRIVE = 5;
    public static final int TYPE_GOOGLE_DRIVE = 6;
    public static final int TYPE_FTP = 7;
    public static final int TYPE_ALL = 9;

    public StorageItem() {

    }

    public StorageItem(String name, int type, int imgRes, int imgRes2, boolean check, String path) {
        this.type = type;
        this.imgRes = imgRes;
        this.imgRes2 = imgRes2;
        this.name = name;
        this.check = check;
        this.path = path;
    }

    public int getImgRes() {
        return imgRes;
    }

    public void setImgRes(int imgRes) {
        this.imgRes = imgRes;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
